package com.example.fengyungo.domain;

import androidx.annotation.NonNull;

public class Message {
    /**
     * 消息id
     */
    String messageId;
    /**
     * 发送方id
     */
    String senderId;
    /**
     * 接收方id
     */
    String receiverId;
    /**
     * 消息内容
     */
    String content;
    /**
     * 消息发送时间
     */
    String sendTime;

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    @NonNull
    @Override
    public String toString() {
        return "Message{" +
                "id='" + messageId + '\'' +
                ", senderId='" + senderId + '\'' +
                ", receiverId='" + receiverId + '\'' +
                ", content='" + content + '\'' +
                ", sendTime='" + sendTime + '\'' +
                '}';
    }
}
